package portal.mybatis.dao.mapper;

import java.util.Date;
import java.util.List;

import portal.mybatis.dao.HistoryAlgorithm;

public interface HistoryAlgorithmMapper {
//	public boolean insertHistoryAlgorithm(String taskHash, String blockId, String state, String algorithmId, int size) ;
//	public boolean endRunningHistoryAlgorithmState(String taskHash, String blockId) ;
//	public int getAlgorithmState(String taskHash, String algorithmHash) ;
//	public List<Object> getFullAlgorithmState(String taskHash, String blockId);
	public int insertHistoryAlgorithm(HistoryAlgorithm historyAlgorithm) ;
	public int updateEndTimeByKey(HistoryAlgorithm historyAlgorithm) ;
	public HistoryAlgorithm selectEndtimeByKey(HistoryAlgorithm historyAlgorithm) ;
	public List<HistoryAlgorithm> selectFullAlgorithmState(HistoryAlgorithm historyAlgorithm);
}
